package canvas;

/**
 * Created by IntelliJ IDEA.
 * User: ilya
 * Date: 01.12.2010
 * Time: 18:18:54
 */
public class Display {

    private Canvas canvas;

    public Display(Canvas canvas) {
        this.canvas = canvas;
    }

    public void draw(int x, int y, Figure f) {
        f.draw(new TranslatedCanvas(x, y, canvas));
    }

}
